All Questions
2 questions
1vote
3answers
1kviews
How to create uniform interface of C++ classes without virtual methods?
I have been developing control software in C++. My hardware consists of a microcontroller with an integrated a/d converter and an external on board a/d converter. Both of these a/d converters have ...
1vote
3answers
838views
What is the best object-oriented design approach for a tree with two node types?
I have a tree-like structure as shown in below picture (as one small example). The tree consists of two different node types, that are: Data Nodes: These nodes that are colored in yellow contain about ...